create skeleton for widget