modify program toonly search for a character called by user