Put evaluate function into a module