working on parser class