Add timing to task