Added createPoint method