added error classes