extended the counter array