added point class to object for origin attribute