change reverse to compare characters