working on while_loop()