"working on freeing space and valgrind"