controller checking 'public' annotation