fact_reverse function

Fact reverse levels