add lines by type