separate terminal classes