added current counter