Updated custom_reverse