PowerSwitch sample: complete revisions
(forgot -a option on previous commit)