new version with option "scaled"