added scaling factor