A senior United Nations official says Nepal should take lessons from countries like Mexico as it prepares to rebuild from two major earthquakes that killed thousands of people and damaged hundreds of thousands of structures.

U.N. Assistant Secretary-General Magdy Martinez-Soliman said Wednesday that existing building laws in Nepal need to strictly enforced.

Earthquakes on April 25 and May 12 killed at least 8,622 people and damaged 756,000 houses and buildings in Nepal.

Martinez-Soliman said good urban planning is vital in disaster-prone areas, something that Mexico learned after being hit with a 1985 quake that killed at least 9,500 people and flattened parts of Mexico City.

Nepal has banned construction of new buildings for two months and said it would review the existing building laws.