added getPrice to item class