Implemented getpointsfromserver