add preliminary logic to handle auto increment counters