added max scale