add support to dumping functions