use binary as reference