adding viewing details