modified reverse method.
Merge branch 'dev'