reason for name->getName() in this line and on the below lines? Kinda looks like an un-needed diff