adding some analytics