added inline for docdata transaction