reverse_n problem solved!