working on analytics