Added input controller.