Fixed code error in analytics lab; made explanation more clear.