apply const