while loops work now