no need to use AtomicInteger here.. just use a normal int