changed the if type to if-goto
have all the code written and now testing