modified the timing feature