Added getOrientation