demo: save to hash