binary separation and uploading added