Added debug timing