trying to make line storage more parsimonious