Added category comparison

@alexwalterbos ready for review!