Use @decorator for timing