logicrelay.cpp #1