diffed with reference code, found this problem with editing. delete *still* not working.