add changes to inferGlySubstr & Network Inference