Added an example to optimized weights