started while loop, not working atm