- added do-while loop, restart no longer required