buy and checkOut