dumb solution, passes test 3