add in timing calculations