added try blocks and funny comments