consistent use of 'const'