modified srf optimization example