refactor queueing methods into Defero