adding hosts class