spacing
refactor data gathering; support utf8 output