optimisations cause valgrind to complain. whoops.
version 1.3.10