set category each time specific_opening is looped through