start reverse function