adding print statements and timers