generateInput feature, template modifications