using class for wikiparser