fixed up n helper