gui adapted to new json-format step 2