Finally used algebra for something