add docs for widget