Certain bacterial DNA repeats are prone to hyper mutation. Genes with these repeats, Contingency genes, are randomly switched on and off. This process, phase variation , generates diversity in a population. Recently we described a new class of contingency gene that methylates DNA. On-off switching of this gene leads to random switching of multiple genes; the phasevarion . We will define the impact of this system in bacteria causing meningitis and STDs.