-Add the timing functionality