code to merge probe data.  incomplete