prepare to orientation control