added context to dom