removed old commented out code. Added new comments.