mg-controller added