added simpleReverse() function
added simpleReverse() function