[New] addFunction