adapted

for new quandle