added method to load several lines of text at once