directions
test similarity functions