Using lines() instead of points() method. the outcome is the same