protected function getChainModel($id) {
        if(!isset($this->chainModels[$id])){
           throw new InvalidArgumentException(sprintf("The chain model is not added or the id '%s' is invalid.",$id)); 
        }
        return $this->chainModels[$id];
    }