saving while it still builds and doesn't crash
threadmodel constructor problems ahead
merging