refactoring role_manipulator_controller