optimized inputs