trying to get ending punctuation to work