added dict for funcs