moved drink gen to client side