finished commenting and testing for turn in

fixed #1