added view counter