added an Error Handler and equipment system (not yet used)