added own reversal function