Changed return of union to void