As the LORD had commanded Moses, so the daughters of Zelophehad did.