HW6-4 with g analytics