working version, blocking hosts