init rate codes
Merge pull request #152 from adamarla/master

init rate codes