Reverse function added