minor
updating for new trialfun