transfer parser to singleton