added init method for Child classes