hxt general patterns