if (is_null($status)) {
            throw new Exception("No status flag was specified");
        }