use ouput rev