added undefine_func command