Added print functionality