added view info and counter
added counter