boilerplate for math eval