added counters and traces to main and added pictures for report