return widgets array instead of map