store map in atom so can be recalled on load