added comments, removed tabs