adding to DB class