custom save function for hashing buckets