Optional Homework extending a given class and adding dynamic data