using bool in host