fixed #4 + display stats