full code comments & added labels to charts