Basics of Early Warning Systems