added comments, removed viewport