added try catch again