updated to use new widget call