add dump type to main lib