finished rudimentary text output