comparing the observed data with stored target data