Orientation assignment working