comments added to switchdemo