adding object type, overriding type to return this
added coordinate class