added nearest points