added negate bands code