add a view func to see the item content.