set up math-problem catching | still incomplete