extracted the name from the object