add code to custom widget introduction