added rate upgrade, modified rate mechanics