first widget code
some more changes