added inverse-function