Adding parent class to arraylist with internal function

Alright, no rush, I appreciate your kindness