gethotspots to getHotspots in controller