changed  to widget(), updated doc