added output of rate