Intermediate working version. Output on breakers doesn't work