properly handling time tracker api call