timer is debugged and tested