rewriting client for search and rescue