created sets out of hyp and ref