add Errors and Schema