for (int i = 0; i < NUMBER_OF_TIMES_TO_RUN_LEARNING_ALGORITHM; i++) {
neocortex.runSingleLearningAlgorithmOneTimeStep();
Layer5Region layer5Region = (Layer5Region) neocortex.getRegion("M");
Point3D nextRetinaPosition = layer5Region
.getMotorOutput(imageViewer.getBoxRetinaIsStuckIn());
imageViewer.saccadeRetinaToNewPositionAndGetWhatItSees(nextRetinaPosition);
}
// save partialNervousSystemObject object in JSON format