public function getPlan($i = null){
        if (!isset($this->planList)){
            return false;
        } else {
            if (is_int($i)){
                return $this->planList[$i];
            } else {
                return $this->planList;
            }
        }
    }