another example for cross correlation