added mult-negative detection