Example source code seen in class for Group 2