simplified point() function