you could add "host" here, and remove the case clause below.