refactor grb_vars.jl