Classifying bugs