formating GenerateInput function part B

Little better.