spec controller