builder now handling nested relations