partway through adding support vec model.