Working on analytics
Fetching results from database