makes it through valgrind!