Separating input and output object
fix type on BinData object