Point class. different approach