catch exception messages made more precise
updating the same string, instead of printing a new string
namings changed