added debugging to timer