cleaning out widget sample code