give widgets class widget