start to add while loop