added code to remove items from list