add dump to linear model