do while for try and catch