couldn't `wiring` be null here?