diff --git a/src/LearningMethods/ParticleSwarm.cpp b/src/LearningMethods/ParticleSwarm.cpp
index 3f1caefc95336e6e71a8f283a94dcafdc7022ceb..deae025bff13189a756ab69ea746d45624cf2961 100644
--- a/src/LearningMethods/ParticleSwarm.cpp
+++ b/src/LearningMethods/ParticleSwarm.cpp
@@ -326,9 +326,9 @@ void ParticleSwarm::optimize( double gamma, double epsilon, double delta) {
         //TODO only in verbose mode
         euclidean_dist /= this->n_particles;
         if(outer_it % 10 == 0){
-            printf("Iteration %d, avg euclidean distance: %f, cluster percent: %f, f-value: %f\r", (int)outer_it, euclidean_dist,
-                   double(cluster.size())/this->n_particles, optimal_value);
-            std::cout.flush();
+            //printf("Iteration %d, avg euclidean distance: %f, cluster percent: %f, f-value: %f\r", (int)outer_it, euclidean_dist,
+            //       double(cluster.size())/this->n_particles, optimal_value);
+            //std::cout.flush();
         }
 
 //        for(unsigned int i=0; i < this->n_particles; i++) {
diff --git a/src/examples/neuron_serialization_example.cpp b/src/examples/neuron_serialization_example.cpp
deleted file mode 100644
index 39f4adcf57baf9cdde5760769a5be28b0be3e349..0000000000000000000000000000000000000000
--- a/src/examples/neuron_serialization_example.cpp
+++ /dev/null
@@ -1,124 +0,0 @@
-//
-// Created by martin on 7/15/18.
-//
-
-/**
- * Test of the neuron binary serialization
- */
-
-
-#include <iostream>
-#include <fstream>
-#include <boost/archive/text_oarchive.hpp>
-#include <boost/archive/text_iarchive.hpp>
-
-#include "4neuro.h"
-
-int main() {
-//    double b = 3;//bias
-//    NeuronLinear n(&b);//x + 3
-//
-//    std::cout << n.get_potential() << " "
-//              << n.get_state() << " "
-//              << n.activation_function_get_parameter(0) << " "
-//              << n.activation_function_get_parameter(1) << std::endl;
-//
-//    std::ofstream ofs("stored_neuron.4n");
-//    {
-//        boost::archive::text_oarchive oa(ofs);
-//        oa << n;
-//        ofs.close();
-//    }
-//
-//    NeuronLinear n2;
-//    {
-//        std::ifstream ifs("stored_neuron.4n");
-//        boost::archive::text_iarchive ia(ifs);
-//        ia >> n2;
-//        ifs.close();
-//    }
-//
-//    std::cout << n2.get_potential() << " "
-//              << n2.get_state() << " "
-//              << n2.activation_function_get_parameter(0) << " "
-//              << n2.activation_function_get_parameter(1) << std::endl;
-//
-//    NeuronLinear n3(0.62, 0.4);
-//
-//    std::cout << n3.get_potential() << " "
-//              << n3.get_state() << " "
-//              << n3.activation_function_get_parameter(0) << " "
-//              << n3.activation_function_get_parameter(1) << std::endl;
-//
-//    std::ofstream ofs2("stored_neuron2.4n");
-//    {
-//        boost::archive::text_oarchive oa(ofs2);
-//        oa << n3;
-//        ofs2.close();
-//    }
-//
-//    NeuronLogistic n4;
-//    {
-//        std::ifstream ifs("stored_neuron2.4n");
-//        boost::archive::text_iarchive ia(ifs);
-//        ia >> n4;
-//        ifs.close();
-//    }
-//
-//    std::cout << n4.get_potential() << " "
-//              << n4.get_state() << " "
-//              << n4.activation_function_get_parameter(0) << " "
-//              << n4.activation_function_get_parameter(1) << std::endl;
-//
-//    NeuronTanh n5(0.5);
-//
-//    std::cout << n5.get_potential() << " "
-//              << n5.get_state() << " "
-//              << n5.activation_function_get_parameter(0) << std::endl;
-//
-//    std::ofstream ofs3("stored_neuron3.4n");
-//    {
-//        boost::archive::text_oarchive oa(ofs3);
-//        oa << n5;
-//        ofs3.close();
-//    }
-//
-//    NeuronTanh n6;
-//    {
-//        std::ifstream ifs("stored_neuron3.4n");
-//        boost::archive::text_iarchive ia(ifs);
-//        ia >> n6;
-//        ifs.close();
-//    }
-//
-//    std::cout << n6.get_potential() << " "
-//              << n6.get_state() << " "
-//              << n6.activation_function_get_parameter(0) << std::endl;
-//
-//    NeuronBinary n7(0.71);
-//
-//    std::cout << n7.get_potential() << " "
-//              << n7.get_state() << " "
-//              << n7.activation_function_get_parameter(0) << std::endl;
-//
-//    std::ofstream ofs4("stored_neuron4.4n");
-//    {
-//        boost::archive::text_oarchive oa(ofs4);
-//        oa << n7;
-//        ofs4.close();
-//    }
-//
-//    NeuronBinary n8;
-//    {
-//        std::ifstream ifs("stored_neuron4.4n");
-//        boost::archive::text_iarchive ia(ifs);
-//        ia >> n8;
-//        ifs.close();
-//    }
-//
-//    std::cout << n8.get_potential() << " "
-//              << n8.get_state() << " "
-//              << n8.activation_function_get_parameter(0) << std::endl;
-
-    return 0;
-}