added sharing and analytics features