updated to stop using deleted item