chap8: makes union