wiring working in gui