Add signal control to judge machine