added comments, but suddenly it's not crashing