Use detect instead of select for buy_drink method