allow user supplied equation