Added orientation to controller.