cleaned up the automated process to cycles classes and log them incrementally.