test&code basic stuff in _determinateDOM()
some refactor, will be more