change to new trays bins. fix extract function