extra scale function