Text this: Lectures on switching theory,