labeling and categorizing for efficiency