make parser static