update Parser with more functions