adding first union casts