output unions too