set char* to const to facilitate String usage