now the timer can return time in second in float