added DOM checker