moving analytics code