modified input for NewGen function