working on host mapping