added in a reverse method