Jasper Yu says to YSITD
dist func可能要改