add naive line history