added that all-important newline char