format host class