set rate at 0 to 1