cleaned up my code.
added a comment.