added methods for Analytics Dao