added functionality of the points system