code now works
removed commented out code that isn't needed