tweak Dreadnaught code