fixed this stupid program and passed the stupid test suite