classification of boundaries