add parser functionality