added function to get hotspot info