db and todo