more involved srate calculation, motivated by Richard