minor changes to edit