Add setOrientation