changed points from string to integer