changed how revrse is done