added text() to compare strings