removed $ in funcs