Added to do and code examples for switch up/down