This is a working version of point drawing