Added test version of scaling