inverse functions updated