change scaling functions