adding counters | Code is caution