main now runs in  "System (privileged) mode"