added nearby functionality