Adding lines data to list