added scaling to init