hosts are taken from vars