added print functionality
added print functionality