added inputParserStruct.m