Examples and optimization