switched to configuration object for scales