Added range reverse functionality