added delete item function