Added a reverse method