added getTimings() function