Preventing accidents during lifting operations