more work on 'onoff' command