removed errorMessage