added inverse programmatic method, updated documentation