moved some of RSSI from background to methods