add option for reading input structure from keyword