use const modifier for char pointer