proposal: remove hashmaps; add io functions