added optimization chapter