added a function to hotspots