Added multiple words per line functionality