[powerdebug 01/14] encapsulate the options code