Stub for database