widget example working