DB interface added
Use db interface