add new variables. corrects for blank lines