trying to make analytics work