updated using actual real world hostnames
returns a message when an empty sequence is encountered
check to see whether this is the first call to the command, and if so, does not perform filtering