Algebraic approach is genius. Working already.