added getPoints in parser