now buyTheItem() is one method for all items