Db stuff added