Added assert for name and label match