added view counter to store index
all but remove button working