defualt method for ParserFactory added