adding more methods to points.py