syntax for getAlgorithms: