added remaining time counter