add scaling to example