updated from Tanel Poder os_explain