added child class to parent class