adding base widget

split base widget into two widgets