Optimized scheduler