added check in digest view for type of class of content