How about not set to false and check for true the next line