selection and optimization, using multiple examples to provide a thorough explanation.