finished partner assignment functionality