Interface SubstitutionAlgorithm