refactored to abstract setData() in parser classes