add gnew to generate source and input for question