add support for libsvm