equation generation - v1.0.2