input format changed
compatible with the output format of patternsim