add the proximity.
add documents
do some improvement