added logging.jar and error management