basic idea of safe-local-overwrite