add dump functions