Created base for widget