handle unions
example output