rename the createInstance method in ParserUtil to configureInstance