added an inventory class but not sure how to go!