added bwarray