change rate to constant