converted Point to an actual class