analytics addition and style tweaks