do bin operations