print functionality first draft