added accessory type to buyTheItem