added timerAPI to interact with backend