SMS: Digital principles switching theory