added invert scale