local hooking classes; added some trace info into manual mapping code;