changes to edit spin