using mathops generated by scala generator