Add text.strip back in, get rid of continue/break, use standard indenting