added in orientation control