Broke out evalfunc function