add genOutput method