Reverse function added in views