added time counter for action