Understanding faulty proteins