spec for controllers