Db and some design