line sensor + merged circuits