added documentation to widgets