added analytics and add this