About to overwrite NewGen function