Improve the grammar of the following text (on “the deep” of Genesis 1:2):

the deep] The Hebrew term תְּהוֹם (tehom) refers to the watery deep, the salty ocean—especially the primeval ocean that surrounds and underlies the earth (see Gen 7:11; 49:25). In the present verse it denotes the chaotic watery waste destined on the Second Day to be confined within certain definite limits. The Hebrew notion that, before the Creation, the universe was enveloped in the waters of the great deep is possibly referred to in Psalm 104:6. The word tehom is similar to the Babylonian Tamtu, or Tiamat, “the Goddess of the Great Deep,” with a dragon’s body, whose destruction preceded the creative deeds of the Babylonian supreme god, Marduk, or Merodach. It is possible that there is a polemical stress here; in the Babylonian account of creation Marduk killed the goddess Tiamat (the salty sea) and used her carcass to create heaven and earth. However, Ancient Israel does not see the ocean as a powerful deity to be destroyed in creation, only a force of nature that can be controlled by God. Another, closer parallel can be found in the Ugaritic thm, the term for the primeval abyss. Since thm is not personified, tehom in Gen 1:2 should likewise not be considered a personified god. In both instances, the description credits the God of Israel with subduing the chaotic primordial conditions to bring about an ordered, habitable creation. Although chaos is not eliminated in the OT account, God’s actions yield order and restraint. The chaos is part of what God deems “very good” in v. 31.