added basic wordwrapping