controller for FG