record with dinic version