first attempt statistics view and social view
Merged my version with Olivier's