use binary library directly