add millisecod timestamp and multistate timestamp