changing mapping to be generated from text so I can allow users to provide their own custom equations