feature: added to_h