add initial nearest object finding