Implemented the base widget