revesing the string