Little refactoring with list of stats.
Added capture log