add comments and move Parse outside of loop