Implemented do while loops