add code to measure timing