myAlgorithm