collapsing in updated bash pieces