fixed errors found in class
adding analytics to the slides