added type to united return values