add constant support