Create timed decorator