Added setNum counter