add more variables.  correct negative RSSI.