init char pointer to NULL to supress gcc warnings