trying to keep points from being null