added function for easily adding items to inventory