checking do while