improved text outpu

I should really test things before checking them in