add histories
smaller linear test