added signal strength check