fixes #10 added current class giving current statistics updated on the fly