solveCycles added