valgrind is clean at this stage