made raio use savedPoints instead of all data