Added pseudo-code for some sensor-activity