FIX: msgProc declaration