add finding R peaks and 2 graph