added analytics and improved some graphs