added the 1 to addPoint