A new approach to classification