I would rename left/right to leftPlan/rightPlan so it is more obvious. There are too many meanings "left" can mean.