changed objfunc from string to type "function". construct objective function call with Expr(:call,objfunc) now. very cool!