add method onRecordEvents to pqEventTranslator