basic point class