added interface for database schema