added nag controller.