modified point class to provide for bad values