new legacy support for constant values