a hyperglue implementation