Using variable for newline code