Widget and use two classes