added analytics part2