first implementation of widget view.