can we pass around ```widget``` instead of this list and ```wcode``` ?