stores points in vector, yet not repainting working