mini: review generated code for generic control