Trying to create an algorithm for a pair of lifts operating from the same controls.