Only do this if pendingPick is defined