Converted auxiliary_func to the new namespace conventions