Added time measurement, sleep and execution timer