add Hungarian method