use const qualifiers where possible