Release v1.2.0: add stats functionality