Fiddling a bit with widget creation