added delete item functionality.