added counters and new table styles