move useless epic_analytics_func to its own file