A very rough wireing diagram