Changed db to database