ted with pneumonia