Rearranged DEM-finding explanation for better flow