changed gen input