Avoiding a repeat assignment