parameterize on widget type
example runs but weird output