Changed the 'optimized' variable to an optional value with default false