changed some rates according to opt code