sample widget for class