add "const" to char pointers