added validation and print function item view

some other updates for item view