 A layer of mucus often forms over mats of cyanobacterial cells.In modern microbial mats, debris from the surrounding habitat can become trapped within the mucus, which can be cemented together by the calcium carbonate to grow thin laminations of limestone.These laminations can accrete over time, resulting in the banded pattern common to stromatolites.