adding cb for db task