The Modist code