added NamedPoint constructor