todo
merge
refactor Gui.js - element