* db class returns errors