Smarter way of Geofencing