Add print functionality