rm deprecated scaling func