the point and map class made