added time control