public function addStatus($name = null) {
        if ($name == null) {
            throw new Exception("No name was given for this status");
        }