Initial implementation of rate