made it so that all points are saved and can be accessed via a method