convert to use live/dead atoms