clean build, need to fix multi-writes and further investigate recursion