Adding code for comparing category yields