query for goals, and added goals categories