add closest
add dependency