function search, log lat need to be changed to floats(duh), not stopping dups