setting host id