added rudimentary text output