updated to new widget instanciation