getPoints added and tested