refactor tuples
refactoring...
more refactoring
more refactoring
init guis