value flow: use const when possible