Optimized watch task, extended example