Still working with do_while functions