building more methods in DB class