detect for opposite sign