Point class works