changed  to widget()