item deletion, refactor