Added end frequency in C controller.