added support for scaled values