little bit of const correctness