chanched the timer to the d3 timer abstraction