Where did categorical thinking come from?