update timer code to enable timer in start