function creating conflicts with dynare moved