finishing referencing variables instead of strings for widgets