wip: use dict cursor