Implemened Timer.createTimer