up this to 10 minutes
fix nearest beacon method