use role instead of host type