simple do while loop