added reachability
works in background