restructure binary arguments