Optimizing for production