made declarations for parser class