added fromreduce bwa sh