refactor - extract rates initialization to separate method