making wiring1 dynamic, adding include header