making migdal more universal