Indenting the code in newPoints()