work on delete item function