A wires functional implementation