implemented print view