Would not work if a has a name and b has a ref!