finished parsing and checks for while loop options