added question and answer categories to type system