changed transId to id
initTime will be set automatically