#2 improve error messages (exceptions were not handled)