periods removed from end of lines