refactored Sequencer to use DeferredFuture