flow to mathjs only