store hostip in var