Adding in some analytics