new arguments for the function search.nearby