example of union type to support properties in integer elements