add script for calculating repeating rate
add code to check priming effect