Added function to define of aglomerate type