Class example for Assignment 4