more valgrind stuff