Simplifying the way we can append to a list in inventory.go