dynamic search of elements works!
small refactoring
start work with asserts