A number of dinoflagelates are known to have two nuclei . Unlike other multinucleated cells these nuclei contain two distinct lineages of DNA : one from the dinoflagelate and the other from a symbiotic diatom . Curiously the mitochondrion and the plastid of the diatom remain functional .