added delete item functionality