Added const before char* to compile code