Using separate promise for each line