added reversing string