figuring out while conditions2