use strcmp to compare char*