Three Bottles Function