Added timer to simulation