better editability logic