use pointer to find char
update