Added comments, deleted commented out code that was causing the problem during initial testing.