added an unsafe (!) append function etc