added code to pass needed host ID vector.