Inverse function added