Added discussion of optimization