created my initial while loop