added section on optimization