this is fine now; this'll be a place for optimization if we choose to made a better way of partitioning lines later.