structure of the parser slightly changed
parser counts appearance of keywords now