changed example.c to controller.c