integrating generic_controller