equation generation - v1.0.4