use const for charcter pointer