orientation and edit logic