Added O3 Optimization