How the Smart Warning System works