init flagity
woriking with the DOM