str comparsion updated.