removed set_namespace function