update for bash 4