removed bad code in find_hosts & added my version